Optimal. Leaf size=102 \[ -\frac {4 a^2}{9 x}+\frac {4 a^2 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{9 x}-\frac {\text {sech}^{-1}(a x)^2}{3 x^3}+\frac {2 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{9 x^3}-\frac {2}{27 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6285, 5373, 3310, 3296, 2638} \[ -\frac {4 a^2}{9 x}+\frac {4 a^2 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{9 x}-\frac {\text {sech}^{-1}(a x)^2}{3 x^3}+\frac {2 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)}{9 x^3}-\frac {2}{27 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2638
Rule 3296
Rule 3310
Rule 5373
Rule 6285
Rubi steps
\begin {align*} \int \frac {\text {sech}^{-1}(a x)^2}{x^4} \, dx &=-\left (a^3 \operatorname {Subst}\left (\int x^2 \cosh ^2(x) \sinh (x) \, dx,x,\text {sech}^{-1}(a x)\right )\right )\\ &=-\frac {\text {sech}^{-1}(a x)^2}{3 x^3}+\frac {1}{3} \left (2 a^3\right ) \operatorname {Subst}\left (\int x \cosh ^3(x) \, dx,x,\text {sech}^{-1}(a x)\right )\\ &=-\frac {2}{27 x^3}+\frac {2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{9 x^3}-\frac {\text {sech}^{-1}(a x)^2}{3 x^3}+\frac {1}{9} \left (4 a^3\right ) \operatorname {Subst}\left (\int x \cosh (x) \, dx,x,\text {sech}^{-1}(a x)\right )\\ &=-\frac {2}{27 x^3}+\frac {2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{9 x^3}+\frac {4 a^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{9 x}-\frac {\text {sech}^{-1}(a x)^2}{3 x^3}-\frac {1}{9} \left (4 a^3\right ) \operatorname {Subst}\left (\int \sinh (x) \, dx,x,\text {sech}^{-1}(a x)\right )\\ &=-\frac {2}{27 x^3}-\frac {4 a^2}{9 x}+\frac {2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{9 x^3}+\frac {4 a^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)}{9 x}-\frac {\text {sech}^{-1}(a x)^2}{3 x^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 73, normalized size = 0.72 \[ \frac {-2 \left (6 a^2 x^2+1\right )+6 \sqrt {\frac {1-a x}{a x+1}} \left (2 a^3 x^3+2 a^2 x^2+a x+1\right ) \text {sech}^{-1}(a x)-9 \text {sech}^{-1}(a x)^2}{27 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.95, size = 116, normalized size = 1.14 \[ -\frac {12 \, a^{2} x^{2} - 6 \, {\left (2 \, a^{3} x^{3} + a x\right )} \sqrt {-\frac {a^{2} x^{2} - 1}{a^{2} x^{2}}} \log \left (\frac {a x \sqrt {-\frac {a^{2} x^{2} - 1}{a^{2} x^{2}}} + 1}{a x}\right ) + 9 \, \log \left (\frac {a x \sqrt {-\frac {a^{2} x^{2} - 1}{a^{2} x^{2}}} + 1}{a x}\right )^{2} + 2}{27 \, x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {arsech}\left (a x\right )^{2}}{x^{4}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.42, size = 112, normalized size = 1.10 \[ a^{3} \left (-\frac {\mathrm {arcsech}\left (a x \right )^{2}}{3 a^{3} x^{3}}+\frac {4 \,\mathrm {arcsech}\left (a x \right ) \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}}{9}+\frac {2 \,\mathrm {arcsech}\left (a x \right ) \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}}{9 a^{2} x^{2}}-\frac {4}{9 a x}-\frac {2}{27 a^{3} x^{3}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {arsech}\left (a x\right )^{2}}{x^{4}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\mathrm {acosh}\left (\frac {1}{a\,x}\right )}^2}{x^4} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {asech}^{2}{\left (a x \right )}}{x^{4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________